<cpanel include="../../config.php">

<?

/***************************************************************************
 *                                 shell_access.php
 *                            -------------------
 *   Begin                : Thursday, April 16, 2005
 *   Copyright            : (C) 2005 Point and Code
 *   Domain               : http://www.pointandcode.com/
 *   Email                : support@pointandcode.com
 *   Version              : 1.0.0
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

$html_root_path = '../../';
include $root_path.'common.php';
$page_title = $lang['shell_access'];
include $root_path.'page_header.php';


$applet_code = <<<EOFpacman
<applet CODEBASE="."  ARCHIVE="http://<cpanel print="$httphost">/java-sys/jta20.jar" CODE="de.mud.jta.Applet" WIDTH=145 HEIGHT=20>
<param name="config" value="http://<cpanel print="$httphost">/java-sys/ssh-cp.conf">
</applet>
EOFpacman;

$template->set_filenames(array(
	'body' => $root_path.$template_path.'account/shell_access.tpl')
);

$template->assign_vars(array(
	'APPLET_CODE' => $applet_code,
	
	'L_SHELL_ACCESS' => $lang['shell_access'],
	'L_GET_SHELL_ACCESS' => $lang['get_shell_access'],
	'L_SHELL_LOGGED' => $lang['shell_logged'],
));


//
// Woohoo! All done!
//
$template->pparse('body');


include $root_path.'page_tail.php';




?>